home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
nyword23.zip
/
NYWHELP.ZIP
/
NYWHELP.3
< prev
next >
Wrap
Text File
|
1986-09-29
|
2KB
|
35 lines
CALCULATOR COMMANDS
<DESK CALC> (the ALT # key) brings up a desk calculator-like facility.
You can type any kind of numeric expressions, even with parentheses. A
running total is kept on the bottom line of the screen. Pressing '='
displays the total on the screen. To exit from this mode, press
<CTRL> D.
Special commands you can use are :
m - transfers the current total to memory
M - transfers memory to the total
c - clears the total
C - clears the memory
<TEXT CALC> (the ALT $ key) is used to perform calculations on numbers
which you have in your text. When you press <TEXT CALC>, you are in a
calculator mode which you press <CTRL> D to exit. All of the cursor
commands are valid in this mode.
To transfer a number into the total, move the cursor under the
number and press the space bar. You can use any arithmetic operators,
and you can type numbers in with your calculations. Pressing '=' will
insert the current total in your text at the next DECIMAL TAB STOP.
You are able to perform one-touch horizontal and vertical
addition. If you have a row of numbers, position the cursor anywhere
on or before the first number in the row. Pressing 'h' will add the
numbers in the row and insert the total at the next decimal tab stop
after the last number. To add a column of numbers, move the cursor
under the first number in the column and press 'v'. The total will be
put after the last number. Make sure there is a blank line underneath
the last row of numbers!!!!
Typing 'f' allows you to change the format which the total is dis-
played. You must type '%[w][d]f', where w is the width of the number,
and d is the number of decimal places. The default format is
'%-10.2f'. For those of you who are 'C' programmers, what you are
really typing in is a new format to use in an sprintf statement.